package interfaces;

import classes.Posicion;
import classes.Rect;

public abstract class Posicionable {
	public abstract Posicion getPosition();
	public abstract boolean ocupa(Posicion p);
	
	private int id;
	private int energia;
	private Rect size;

	public void setSize(Rect size) {
		this.size = size;
	}
	
	public int getEnergia() {
		return energia;
	}
	
	public void setEnergia(int energia) {
		this.energia = energia;
	}
	
	public int getId() {
		return id;
	}
	
	public Rect getSize() {
		return size;
	}
	public void setId(int id) {
		this.id = id;
	}
	
}
